package ai;


import java.util.ArrayList;
import java.util.Random;

import Player.Enemy;

import command.Attack;
import command.Command;

import controller.CombatEngine;

public class EnemyRandomAI extends AI{
	public EnemyRandomAI(Enemy en, CombatEngine com){
		super(en, com);
	}
	
	@Override
	public Command selectCommand() {
		
		ArrayList<Attack> arr = getEnemy().getAtt();
		return arr.get(new Random().nextInt(arr.size()));
	}
}
